import { el } from '@/utils'
import './btn-color.scss'

// default、primary、success、warning、danger

const html = el('div', { className: 'btns' }, [
  el('button', { className: 'btn default' }, ['按钮']),
  el('button', { className: 'btn primary' }, ['按钮']),
  el('button', { className: 'btn success' }, ['按钮']),
  el('button', { className: 'btn warning' }, ['按钮']),
  el('button', { className: 'btn warning', disabled: true }, ['按钮']),
  el('button', { className: 'btn danger' }, ['按钮'])
])

document.body.appendChild(html._render())
